package com.test.sb2._05_property;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.Properties;

@SpringBootApplication
public class PropertiesApplication {


    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(PropertiesApplication.class);


        //方式1
//        Properties properties = new Properties();
//        properties.setProperty("name", "张三");
//        app.setDefaultProperties(properties);

        app.run(args);
    }

}
